label {
    font-size: 12px;
    color: #a3a3a3;
    font-family: arial;
}

ul, menu, dir {
    display: block;
    list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

.message {
    list-style: none;
    border: 2px solid;
    border-radius: 12px;
    margin-bottom: 4px;
    border-color: skyBlue;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    background: #F1F1F1;
    width: 670px;
    margin: 12px 0 12px 19px;
}

.containerBorder {
    border: 10px solid #87CEEB;
    border-radius: 20px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

#scroller {
    overflow-y: visible;
    height: 100%;
    margin: 0;
    margin-right: 510px;
    margin-bottom: 20px;
}

.messageuser {
    float: left;
    color: #000000;
    width: 70px;
    height: 100%;
    overflow: visible;
    font-weight: bolder;
    font-family: sans-serif;
    /*padding: 13px 20px 13px 20px;*/
    margin: 20px;
}

.messageuser:hover {
    /*height:100%;*/
    cursor: pointer;
    /*background: gold;
    border-radius: 5px;*/
}

.messagetext {
    font: normal 13px arial,sans-serif;
    margin: 2px 60px 2px 110px;
    padding: 13px 5px;
    min-height: 40px;
    word-wrap: break-word;
    border-radius: 5px;

}

.messagetext:hover {
    cursor: pointer;
    background: skyBlue;

}

.messagedate {
    float: right;
    color: #878787;
    font-size: 11px;
    width: 55px;
    padding: 3px;
}

#formDiv {
    background: #eaf8fc;
    padding: 10px;
    width: 100%;
    min-height: 150px;
    overflow: hidden;
}

#onlineUsers {

}

#userContainer {
    width: 420px;
    background: #f1f1f1;
    margin-top: 20px;
    font-size: 20px;
    font-family: Comic Sans MS;
}
#onlineUsers .userLine:hover {
    background-color: rgba(128, 128, 128, 0.3) !important;
}
#onlineUsers .userLine:nth-child(even){
    background-color: rgba(128, 128, 128, 0.1);
}
#onlineUsers .userLine{
    border: 1px none;
    padding-top: 5px;
    border-radius: 5px;
}

.usersList {
    padding-left: 10px;
    border-radius: 10px;
    width: 200px;
    font-weight: bold;
    font-size: 20px;
    float: left;
}

.usersList:hover {
    cursor: pointer;
}

#right {
    float: right;
    position: fixed;
    width: 394px;
    top: 10px;
    right: 50px;
}

#text, #send {
    /* float: left;*/
}

#authDiv {
    width: 310px;
    height: 215px;
    margin: 110px auto;
    background: #EAF8FC;
}

#authForm {
    padding: 12px;
    padding-top: 35px;
}

#authBtn {
    width: 120px !important;
    margin: 20px 0 0 80px;
}

.formFont {
    font-family: arial;
    font-size: 24px;
}

#text {
    padding: 5px 5px;
    height: 170px;
    width: 380px;
    border: 1px solid #a4c3ca;
    font: normal 13px 'trebuchet MS', arial, helvetica;
    background: #f1f1f1;
    -moz-border-radius: 20px;
    border-radius: 10px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
}

#sendByEnterBlock {
    margin-top: 5px;
    float: left;
    width: 140px;
}

#send {
    float: right !important;
    margin-top: -20px;
}

.send {
    background: #87CEEB;
    -moz-border-radius: 50px 50px 50px 50px;
    border-radius: 50px 50px 50px 50px;
    border-width: 1px;
    border-style: solid;
    border-color: #87CEEB;
    -moz-box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    height: 35px;
    margin: 12px 0 0 200px;
    padding: 0;
    width: 140px;
    cursor: pointer;
    display: block;
    font: bold 14px Arial, Helvetica;
    color: #23441e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.send:hover {
    background: #87CEEB;
}

#loader {
    display: none;
    position: absolute;
    top: 60px;
    right: 180px;
}

.send:active {
    background: #87CEEB;
    width: 130px;
    -moz-box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

#text::-webkit-input-placeholder {
    color: #9c9c9c;
    font-style: italic;
    font-size: 15px;
}

#text:-moz-placeholder {
    color: #9c9c9c;
    font-style: italic;
    font-size: 15px;
}

#text.placeholder {
    color: #9c9c9c !important;
    font-style: italic;
    font-size: 15px;
}

#text:focus {
    border-color: #8badb4;
    background: #fff;
    outline: none;
}

#mainForm {
    width: 98%;
    position: absolute;
}

.messageforyou {
    background: rgba(255, 165, 0, 0.1);
}

.quote {
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(128, 128, 128, 0.1);
    color: grey;
    font-family: arial;
    font-style: italic;
}

li.quote {
    margin-left: 110px;
    margin-right: 60px;
}

.quotetext {
    font-style: normal;
    font-size: 12px;
}

.quoteauthor {
    float: left;
    font-weight: bolder;
    font-size: 11px;
    padding: 3px;
}

.quotedate {
    font-size: 11px;
    padding: 3px;
}

#quote {
    margin-bottom: 10px !important;
}

#quote .quotetext {
    overflow-y: auto;
    max-height: 60px;
    position: inherit;
    padding: 4px;
    border: 1px dashed grey;
    border-radius: 5px;
}

#quote .close {
    float: right;
    position: relative;
    top: 3px;
    margin-right: 3px;
    font-family: arial;
    font-style: normal;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: rgba(128, 128, 128, 0.4);
}

#quote .close:hover {
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.2);
}

#quote p {
    font-size: 12px;
    padding: 2px;
    margin: 0;
}
#smileButton{
    cursor: pointer;
    display: block;
    padding-left: 180px;
}

#smiles{
    overflow-y: auto;
    position: absolute;
    width: 230px;
    height: 200px;
    background: white;

}
#smiles div{
    width: 50px;
    height: 40px;
    float: left;
}
#smiles img{
    margin: auto;
    padding: 3px;
    display: block;
    cursor: pointer;
}